﻿@{
    ViewBag.Title = "Index";
}

<h2>Категории</h2>
<ul>
@foreach (var item in Model)
{
    string title = item.title;
    
    <li>@Html.ActionLink(title, "Products", "Product", new { id = item.id }, new { style = "" })</li>
}
</ul>
